/*
 * Contains Student class
 */
package student_report;

/**
 * STUDENTS table java representation
 * @author Alexey Akimov <frinatella@gmail.com>
 */
public class Student {
    
    /**
     * Constructor
     * @param studentId student identificator
     * @param surname student surname
     * @param name student name
     * @param groupNumber student group number
     */
    public Student(int studentId, String surname, String name, int groupNumber) {
        this.studentId = studentId;
        this.surname = surname;
        this.name = name;
        this.groupNumber = groupNumber;
    }

    /**
     * Student identificator
     */
    private int studentId;

    /**
     * Getter
     * @return student identificator
     */
    public int getStudentId() {
        return studentId;
    }
    
    /**
     * Setter
     * @param studentId student identificator
     */
    public void setStudentId(int studentId) {
        this.studentId = studentId;
    }
    
    /**
     * Student surname
     */
    private String surname;

    /**
     * Getter
     * @return student surname
     */
    public String getSurname() {
        return surname;
    }

    /**
     * Setter
     * @param surname student surname
     */
    public void setSurname(String surname) {
        this.surname = surname;
    }
    
    /**
     * Student name
     */
    private String name;

    /**
     * Getter
     * @return student name
     */
    public String getName() {
        return name;
    }

    /**
     * Setter
     * @param name student name
     */
    public void setName(String name) {
        this.name = name;
    }
    
    /**
     * student group number
     */
    private int groupNumber;

    /**
     * Getter
     * @return student group number
     */
    public int getGroupNumber() {
        return groupNumber;
    }

    /**
     * Setter
     * @param groupNumber student group number
     */
    public void setGroupNumber(int groupNumber) {
        this.groupNumber = groupNumber;
    }
    
}
